﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadLogo.aspx.cs" Inherits="V5_EShop.Admin.Picture.UploadLogo" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
  
    <title></title>
    <script type="text/javascript" src="/Scripts/jquery-1.3.2.js"></script>
    <script type="text/javascript">
        function returnValue(path) {
            parent.InitLogo(path);
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:FileUpload ID="FileUpload1" runat="server" />
&nbsp;&nbsp;
    <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="上传" />
    <br />
    <img alt="" src="" width="220" height="150" id="view" />
    </form>
    <script type="text/javascript">
        $(function() {
            $("#FileUpload1").change(function() {
                $("#view").attr("src",$(this).val());
            });
        });
    </script>
</body>
</html>
